:root {
	--totalWid: 100vw;
}
html,
body {
	width: 100%;
}
/* 头部 */
header {
	width: 100%;
	height: 65px;
	border-bottom: 1px solid #aec7ec;
	opacity: 1;
}

header > a {
	display: block;
	height: 65px;
	width: 150px;
}

header > a h1 {
	background: url(../imgs/new-logo-white2.png) no-repeat;
	height: 65px;
}

header ul li {
	margin: 15px;
	height: 65px;
	line-height: 65px;
}
header ul li a {
	color: #000;
}
header ul li.active {
	color: #1271ef;
	border-bottom: 2px solid #1271ef;
}
header ul li.active a {
	color: #1271ef;
}
header div span {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 15px;
}

header div span:first-child {
	border: 1px solid #000000;
	margin-right: 15px;
}
header div span:first-child a {
	color: #000;
}
header div span:last-child {
	background-color: #ed510a;
}
header div span:last-child a {
	color: #fff;
}
/* 占位标签 */
#header {
	width: 100%;
	height: 65px;
}
/* 主体 */
main {
	margin-top: 38px;
	width: 100%;
	/* height: 1555px; */
}
/* 分类标题 */
#category {
	width: 100%;
	height: 275px;
}
#category > h4 {
	line-height: 50px;
}
#category > ul > li {
	float: left;
	margin: 10px 12px 10px;
	padding: 6px 14px;
	border: 1px solid #ddd;
	color: #666666;
	border-radius: 20px;
}
#category > ul > li.active {
	border: 1px solid #1271ef;
	color: #1271ef;
}
#category > #search {
	margin: 65px 0px 15px 0px;
}
#category > #search > strong {
	margin-right: 18px;
}
#category > #search > #imgCont {
	display: inline-block;
}
#category > #search > #imgCont > input {
	width: 225px;
	height: 30px;
	outline: none;
	border: 1px solid #f4f4f4;
	border-radius: 15px;
}
#category > #search > #imgCont > img {
	position: absolute;
	top: 10px;
	right: 16px;
}
/* 卡片内容 */
#content {
	box-sizing: border-box;
	width: 1200px;
	/* height: 1125px; */
	overflow: hidden;
}

#content ul li {
	float: left;
	width: 226px;
	height: 268px;
	margin-bottom: 14px;
	box-sizing: border-box;
	border: 1px solid #eeeeee;
	overflow: hidden;
}
#content ul li:hover {
	box-shadow: 6px 6px 18px #b8b8b8;
	margin-right: 2px;
}
#content ul li:not(:nth-child(5n)) {
	margin-right: 16px;
}
#content ul li span {
	top: 12px;
	left: 10px;
	padding: 4px;
	background-color: #e5f8ff;
	color: #4ab3ff;
}
#content ul li div {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}
#content ul li p {
	line-height: 28px;
}
#content ul li a {
	display: block;
	width: 190px;
	height: 32px;
	line-height: 32px;
	/* bottom: 16px; */
	bottom: -40px;
	left: 18px;
	background-color: #00bdff;
	transition: bottom 0.5s;
}
#content ul li:hover a {
	bottom: 16px;
}

/* 翻页器 */
#pages {
	margin: 55px 0 65px 0;
	width: 100%;
	height: 200px;
}

#pages ul {
	display: flex;
	justify-content: space-evenly;
	width: 600px;
	margin: 0 auto;
}
#pages ul li:not(:last-child) {
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
	font-size: 14px;
	color: #000;
}
#pages ul li:last-child {
	width: 60px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	border-radius: 50%;
	font-size: 14px;
	color: #000;
}
#pages ul li.active {
	background-color: #00bdff;
	color: #fff;
}

#pages ul li:hover {
	cursor: pointer;
}

/* 尾部 */
footer {
	width: 100%;
	height: 330px;
	background-color: #f8f8f8;
}
footer .container {
	display: flex;
	flex-direction: column;
}
footer .listTop {
	width: 745px;
	height: 210px;
}

footer .listTop .list-item {
	height: 155px;
}
footer .listTop .wechat {
	width: 135px;
	height: 210px;
}
footer .last {
	width: 100%;
	height: 35px;
}
footer .last .agree {
	display: flex;
	width: 660px;
}
/* 蒙层 */
#mask {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 100%;
	z-index: 75;
	background-color: rgba(0, 0, 0, 0.3);
}
/* 弹出层 */
#loginModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 30px 20px;
	justify-content: center;
	align-items: center;
	width: 400px;
	height: 550px;
	background-color: #fff;
	/* display: none; */
	z-index: 90;
}
/* logo */
#loginModal #loginModalLogo {
	text-align: center;
}

/* 登录方式 */
#loginModalLoginType {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 30px;
	margin-top: 26px;
	margin-bottom: 30px;
	font-size: 14px;
	text-align: center;
}

#loginModalLoginType a {
	width: 160px;
	height: 40px;
	color: #555;
	line-height: 40px;
}
#loginModalLoginType a.active {
	position: relative;
	color: #00bdff;
}
#loginModalLoginType a.active::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%);
	content: "";
	display: block;
	width: 30%;
	height: 2px;
	background-color: #00bdff;
}
#loginModalLoginType i {
	display: inline-block;
	width: 2px;
	height: 25px;
	background-color: #eeeeee;
}
/* 表单区 */
#loginUser {
	width: 100%;
	line-height: 40px;
	display: none;
}
#loginUser #loginUsername，#loginUserpassword {
	width: 100%;
	height: 40px;
	border-bottom: 1px solid #e7e7e7;
	line-height: 40px;
}
#loginUsername i {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -50px 1px;
}
#loginUser p input {
	box-sizing: border-box;
	outline: none;
	border: 1px solid #fff;
}
#loginUserpassword i {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -25px 4px;
}

/* 忘记密码 */
#forgetPassword {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 18;
	text-align: right;
}
#forgetPassword a {
	font-size: 14px;
	color: #00bdff;
}
#loginUser button {
	width: 100%;
	height: 45px;
	line-height: 45px;
	font-size: 14px;
	color: #fff;
	background-color: #00bdff;
	outline: none;
	border: 0px;
	cursor: pointer;
}
/* 注册  */
#loginUser .register {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-top: 20px;
	text-align: right;
	color: #909090;
	vertical-align: bottom;
	font-size: 14px;
}
#loginUser .register a {
	color: #00bdff;
}
#loginUser .register i {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -53px -32px;
}
/* 二维码登录 */
#QRCode {
	width: 290px;
	height: 240px;
	margin: 0 auto;
	display: none;
}
#QRCode > div {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #fcfcfc;
	border: 1px solid #eeeeee;
	font-size: 14px;
	text-align: center;
}
#QRCode > div img {
	width: 105px;
	height: 105px;
}
#QRCode > div p:nth-child(2) {
	margin: 14px 0 15px 0;
}
#QRCodeRegister {
	width: 100%;
	height: 30px;
	line-height: 30px;
	margin-top: 20px;
	text-align: left;
	color: #909090;
	vertical-align: bottom;
	font-size: 14px;
}
#QRCodeRegister a {
	color: #00bdff;
}
#QRCodeRegister i {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../imgs/loginIcon.png) no-repeat;
	background-position: -53px -32px;
}
